package com.letoken.platform.repo.ecommerce.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "商品SKU记录")
public class MsgSkuRes {
    @ApiModelProperty(value = "库存记录ID")
    private Integer id;

    @ApiModelProperty(value = "商品ID")
    private Integer productId;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "实际价格")
    private BigDecimal realPrice;

    @ApiModelProperty(value = "库存")
    private Integer stock;


    @ApiModelProperty(value = "当前状态 0未删除 1已删除")
    private Integer deleteStatus;

    @ApiModelProperty(value = "销量")
    private Integer sale;


    @ApiModelProperty(value = "商品销售属性，json格式{key=颜色，valuse=黑色}")
    private String spData;


}
